package com.solo.strategy.bean;

import com.solo.strategy.impl.MuteQuack;
import com.solo.strategy.impl.flyWithWings;

public class MallardDuck extends Duck {
	
	public MallardDuck(){
		flyBehavior = new flyWithWings();
		quackBehavior = new MuteQuack();
	}

	@Override
	public void display() {
		System.out.println("i am real mallard duck !");
	}

}
